package com.wynet.shopsapp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@TableName("t_find")
@NoArgsConstructor
public class Find {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer u_id;
    private Integer g_id;
    private String f_detail;
    private String f_photo;
    private String f_comment;
    private String f_looks;
    private String f_likes;
    private Date f_ctime;

    public Find(Integer u_id, Integer g_id, String f_detail, String f_photo, String f_comment, String f_looks, String f_likes) {
        this.u_id = u_id;
        this.g_id = g_id;
        this.f_detail = f_detail;
        this.f_photo = f_photo;
        this.f_comment = f_comment;
        this.f_looks = f_looks;
        this.f_likes = f_likes;
    }
}
